package com.lwj.kotlinstudy

import android.annotation.SuppressLint
import android.os.Bundle
import android.view.View
import android.widget.Button
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity

class MainActivity : AppCompatActivity() {
    @SuppressLint("MissingInflatedId")
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        val textView = findViewById<TextView>(R.id.tv_textView)
        textView.text = "jack"
        val button = findViewById<Button>(R.id.button)
//        button.setOnClickListener(View.OnClickListener {
//
//        })
        button.setOnClickListener {  }
    }
}